package com.dingding.order.dto.publish;

import java.io.Serializable;
import java.math.BigDecimal;

import com.dingding.common.core.util.paravalidate.CanNull;

/**
 * @ClassName: ReqReleaseOrder 
 * @Description: 发布订单请求Bean
 * @author YHQ
 * @date 2016年6月3日 上午10:47:51
 */
@SuppressWarnings("serial")
public class ReqReleaseOrderDTO implements Serializable {

	private Integer userType; // 用户角色(1:车主 2:乘客)
	private String placeOrderUserId; // 下单用户Id
	@CanNull
	private String payCity; // 下单城市
	private String setOutTime; // 出发时间
	private String startAddress; // 出发地址
	private Double startLatitude; // 起点纬度
	private Double startLongitude; // 起点经度
	private String endAddress; // 目的地
	private Double endLatitude; // 目的地纬度
	private Double endLongitude; // 目的地经度
	private BigDecimal distance; // 距离
	private BigDecimal orderCost; // 订单里程费用
	private Integer number; // 人数
	@CanNull 
	private BigDecimal couponMoney; // 优惠金额
	private Integer isCarShare; // 是否合乘(1:合乘 2:不合乘)
	private Integer isLongDistance; // 是否是长途拼车(1:普通 2:长途)
	@CanNull private String message; // 留言
	@CanNull private Integer redBag; // 红包
	@CanNull private String ucid; // 优惠券Id
	@CanNull private Integer freeSeat; // 当前闲置座位数
	private Integer setOutCondition; // 出发条件 1：准时出发 2：出发前后10分钟

	public String getEndAddress() {
		return endAddress;
	}

	public void setEndAddress(String endAddress) {
		this.endAddress = endAddress;
	}

	public Double getEndLatitude() {
		return endLatitude;
	}

	public void setEndLatitude(Double endLatitude) {
		this.endLatitude = endLatitude;
	}

	public Double getEndLongitude() {
		return endLongitude;
	}

	public void setEndLongitude(Double endLongitude) {
		this.endLongitude = endLongitude;
	}

	public Integer getIsCarShare() {
		return isCarShare;
	}

	public void setIsCarShare(Integer isCarShare) {
		this.isCarShare = isCarShare;
	}

	public Integer getIsLongDistance() {
		return isLongDistance;
	}

	public void setIsLongDistance(Integer isLongDistance) {
		this.isLongDistance = isLongDistance;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Integer getNumber() {
		return number;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}

	public String getPayCity() {
		return payCity;
	}

	public void setPayCity(String payCity) {
		this.payCity = payCity;
	}

	public String getPlaceOrderUserId() {
		return placeOrderUserId;
	}

	public void setPlaceOrderUserId(String placeOrderUserId) {
		this.placeOrderUserId = placeOrderUserId;
	}

	public Integer getRedBag() {
		return redBag;
	}

	public void setRedBag(Integer redBag) {
		this.redBag = redBag;
	}

	public String getSetOutTime() {
		return setOutTime;
	}

	public void setSetOutTime(String setOutTime) {
		this.setOutTime = setOutTime;
	}

	public String getStartAddress() {
		return startAddress;
	}

	public void setStartAddress(String startAddress) {
		this.startAddress = startAddress;
	}

	public Double getStartLatitude() {
		return startLatitude;
	}

	public void setStartLatitude(Double startLatitude) {
		this.startLatitude = startLatitude;
	}

	public Double getStartLongitude() {
		return startLongitude;
	}

	public void setStartLongitude(Double startLongitude) {
		this.startLongitude = startLongitude;
	}

	public String getUcid() {
		return ucid;
	}

	public void setUcid(String ucid) {
		this.ucid = ucid;
	}

	public Integer getUserType() {
		return userType;
	}

	public void setUserType(Integer userType) {
		this.userType = userType;
	}

	public Integer getFreeSeat() {
		return freeSeat;
	}

	public void setFreeSeat(Integer freeSeat) {
		this.freeSeat = freeSeat;
	}

	public Integer getSetOutCondition() {
		return setOutCondition;
	}

	public void setSetOutCondition(Integer setOutCondition) {
		this.setOutCondition = setOutCondition;
	}

	public BigDecimal getDistance() {
		return distance;
	}

	public void setDistance(BigDecimal distance) {
		this.distance = distance;
	}

	public BigDecimal getOrderCost() {
		return orderCost;
	}

	public void setOrderCost(BigDecimal orderCost) {
		this.orderCost = orderCost;
	}

	public BigDecimal getCouponMoney() {
		return couponMoney;
	}

	public void setCouponMoney(BigDecimal couponMoney) {
		this.couponMoney = couponMoney;
	}

}
